<?php

namespace App\Events;


class WechatEvent extends Event
{
    # 微信通知内容及用户openid
    public $content;
    public $openid;

    /**
     * AccountEvent constructor.
     * @param $account
     * @param $password
     * @param $oldPassword
     * @param $action
     */
    public function __construct($data, $openid, $action = Event::MESSAGE)
    {
        parent::__construct();
        $this->action = $action;
        $this->content = $data;
        $this->openid = $openid;
    }

}
